﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace WeFrame.AutoCode
{
    class FileHelper
    {
        public void WriteFile(string filePath, string fileName, string fileContext) 
        {
            FileInfo fileInfo = new FileInfo(filePath +"/"+ fileName);

            StreamWriter streamWriter = fileInfo.CreateText();
            streamWriter.WriteLine(fileContext);
            streamWriter.Close();

        
        }
    }
}
